package com.kyd.api.gateway.fallback;

import com.kyd.base.response.Ret;
import com.kyd.api.gateway.feign.AuthService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhuangqi
 * @date 2019-03-27
 */
@Component
@Slf4j
public class AuthServiceFallback implements AuthService {


    public Ret verify(@RequestParam("token") String token) {
        log.error("调用{}异常{}","verify", token);
        return null;
    }


}
